package beautiful.butterfly.drds.binlog.netty.server;

import beautiful.butterfly.drds.binlog.connection.ConnectionAttributes;
import io.netty.channel.Channel;
import io.netty.channel.socket.nio.NioSocketChannel;

import java.nio.channels.SocketChannel;

public class NioSocketChannelExtend extends NioSocketChannel
{
    ConnectionAttributes connectionAttributes;

    public NioSocketChannelExtend(Channel parentChannel, SocketChannel socketChannel, ConnectionAttributes connectionAttributes)
    {
        super(parentChannel, socketChannel);
        this.connectionAttributes = connectionAttributes;
    }

    public ConnectionAttributes getConnectionAttributes()
    {
        return connectionAttributes;
    }

}
